import fetch from '@/utils/fetch';

export function getDrawList(data) {
	return fetch({
	    url: '/api/lottery.igkbet',
	    method: 'get',
	    params:data||{}
	});
}

export function getDrawDetail(id,page,pageSize){
	pageSize=pageSize||20;
	page=page||1;
	return fetch({
	    url: '/api/lottery.igkbet/glist/ps/'+pageSize+"?page="+page,
	    method: 'post',
	    data: "id="+id
	});
}